Documentation

Task
in package

Table of Contents

Properties

$author  : User|null
$content  : string|null
$createdAt  : DateTimeImmutable|null
$id  : int|null
$isDone  : bool|null
$title  : string|null

Methods

__construct()  : mixed
getAuthor()  : User|null
getContent()  : string|null
getCreatedAt()  : DateTimeImmutable|null
getId()  : int|null
getTitle()  : string|null
isIsDone()  : bool|null
setAuthor()  : self
setContent()  : self
setCreatedAt()  : self
setIsDone()  : self
setTitle()  : self

Properties

$content

private string|null $content = null

$createdAt

private DateTimeImmutable|null $createdAt = null

$id

private int|null $id = null

$isDone

private bool|null $isDone = null

$title

private string|null $title = null

Methods

__construct()

public __construct() : mixed

getAuthor()

public getAuthor() : User|null
Return values
User|null

getContent()

public getContent() : string|null
Return values
string|null

getCreatedAt()

public getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null

getId()

public getId() : int|null
Return values
int|null

getTitle()

public getTitle() : string|null
Return values
string|null

isIsDone()

public isIsDone() : bool|null
Return values
bool|null

setAuthor()

public setAuthor(User|null $author) : self
Parameters
$author : User|null
Return values
self

setContent()

public setContent(string $content) : self
Parameters
$content : string
Return values
self

setCreatedAt()

public setCreatedAt(DateTimeImmutable $createdAt) : self
Parameters
$createdAt : DateTimeImmutable
Return values
self

setIsDone()

public setIsDone(bool $isDone) : self
Parameters
$isDone : bool
Return values
self

setTitle()

public setTitle(string $title) : self
Parameters
$title : string
Return values
self

        
On this page

Search results